import request from '@/utils/request'

//每日推荐图表
export function getDayRcmd(data){
    return request({
        url:'/api/chart/dailyRcmd',
        method:'post',
        data
    })
}

// //图表搜索
// export function searchRcmd(data){
//     return request({
//         url:'/api/web/searchChart',
//         method:'post',
//         data
//     })
// }
//图表搜索第二版
export function searchRcmd(data){
    return request({
        url:'/api/v2/chart/search',
        method:'post',
        data
    })
}

//获取图片列表
export function chartList(data){
    return request({
        url:'/api/chart/fileAllChartList',
        method:'post',
        data
    })
}